package com.thz.houserental.domain.reservation;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@TableName("reservation")
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
public class Reservation {
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    
    @Schema(description = "用户id")
    private String userId;
    
    @Schema(description = "房屋id")
    private String houseId;
    
    @Schema(description = "是否收藏，0：否，1： 是")
    private Integer isCollect;
    
    
}
